]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
dialog: Remove incorrect disconnectObject()
authorJonas Ådahl <jadahl@gmail.com>
Mon, 15 Aug 2022 16:23:27 +0000 (18:23 +0200)
committerJonas Ådahl <jadahl@gmail.com>
Fri, 25 Nov 2022 21:09:37 +0000 (22:09 +0100)
It was added, as there was a previous signal disconnect in this
function, but it happened to be dead code, and the disconnectObject()
call was added in error. Remove it.

Fixes: 26235bbe5433c48b81bd3917aaf9ef14ff1929b2
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1349>

js/ui/dialog.js

index 1ae27a13453b236c2fe42b53cecc2c98fa7f5eaa..414a3e4c74dfd90fd21b8fe047b223f7a007cda0 100644 (file)
@@ -60,8 +60,6 @@ class Dialog extends St.Widget {
     }
 
     makeInactive() {
-        this._parentActor.disconnectObject(this);
-
         this.buttonLayout.get_children().forEach(c => c.set_reactive(false));
     }